package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.pro.TaskList;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: shanzhe
 * @Date: 2025/9/24 - 18:54
 */
public interface TaskListService {
    PageInfo<TaskList> selectTaskPage(Integer pageNum, Integer pageSize,
                                      Long productionOrderId,
                                      Long processId,
                                      Integer workflowId
    );

    int addTaskListByProductionOrderIdAndProcessId(TaskList taskList);

    int updateTaskCodeById(TaskList taskList);

    int deleteTaskListById(Long taskListId);

    int batchDeleteTaskListByIds(List<Long> ids);
}
